html,
body {
    width: 100%;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    padding: 0 0.05rem;
    background: #eaeaea;
}

/* 主体 */
#main {
    flex: 1;
    /* 超出出现滚动条 */
    overflow: auto;
    background-color: #eaeaea;
}

/* 页头 */
#header {
    line-height: 0.4rem;
    background-color: #F6F0E3;
}

#header .nav {
    display: flex;
    justify-content: space-between;
}

#header .nav {
    padding: 0 0.1rem 0 0.15rem;
    font-size: 0.15rem;
    font-weight: 600;
}

#header .nav>div:nth-child(2) {
    width: 0.87rem;
    height: 0.3rem;
    border-radius: 0.3rem;
    line-height: 0.3rem;
    margin-top: 0.05rem;
    background-color: rgba(255, 255, 255, 0.89);
}

#header .nav span:nth-child(1) {
    font-size: 0.15rem;
}



/* 页脚 */
#footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    line-height: 0.25rem;
    background-color: #F6F0E3;
    border-top: 0.01rem solid #d3d3d3;
}

#footer>div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#footer>div span {
    color: #999999;
    font-size: 0.2rem;
}

#footer>div a {
    color: #999999;
    font-size: 0.1rem;
}

#footer>div:hover {
    color: #ec0c31;
    background: #bdb5b5a9;
}